package edu.ujf.sharepas.rmi;


import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import edu.ujf.sharepas.impl.Message;
import edu.ujf.sharepas.impl.User;

public interface Serveur extends Remote{
    public void disconnect (Client client) throws java.rmi.RemoteException;
    public void connect(Client client) throws RemoteException;
    public void message(edu.ujf.sharepas.impl.Message message) throws RemoteException;
    public void updateUsers() throws RemoteException;
    public void updateUser(Client u) throws RemoteException;
} 
